package com.pro.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class Unseal {
  private Integer id;//id
  private Integer userCode;//封停用户编号
  private String account;//封停账号
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  private Date endDate;//解封时间
  private String reason;//封停原因
  private Integer days;//封停天数
  private Integer type;//类型 2前台 3后台
  private Integer createdId;//操作者id
    private String deptName;//部门名称

  public Unseal(Integer id, Integer userCode, String account, Date endDate, String reason, Integer days, Integer type, Integer createdId) {
    this.id = id;
    this.userCode = userCode;
    this.account = account;
    this.endDate = endDate;
    this.reason = reason;
    this.days = days;
    this.type = type;
    this.createdId = createdId;
  }

  public Unseal() {
    super();
  }
}
